From: Richard M. Stallman Date: Sat, 5 Jun 1993 21:18:11 +0000 (+0000) Subject: (rmail-summary-next-msg): Fix number of dots in regexp. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95551 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=682ac5eb5b71f0980594cee295f14d8ce89723c6;p=emacs.git (rmail-summary-next-msg): Fix number of dots in regexp. --- diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index b727951a772..b9d4a82892a 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el @@ -367,7 +367,7 @@ messages, or backward if NUMBER is negative." (search (if (> number 0) 're-search-forward 're-search-backward)) (non-del-msg-found nil)) (while (and (> count 0) (setq non-del-msg-found - (or (funcall search "^.....[^D]" nil t) + (or (funcall search "^....[^D]" nil t) non-del-msg-found))) (setq count (1- count)))) (beginning-of-line)